.dialog {
  //基于浏览器窗口定位
  position: fixed;
  top: 5vh;
  width: 100%;
  height: 100vh;
  left: 25vw;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  animation-iteration-count: inherit;
  // 关闭按钮
  .dialog-close {
    position: absolute;
    right: 30vw;
    top: 8vh;
    padding: 0 4px;
    font-weight: 20px;
  }
  form {
    width: 30vw;
    label {
      display: block;
      margin: 10px;
      span {
        display: inline-block;
        width: 50px;
      }
      span + button {
        width: 50%;
      }
    }
    .dialog-title {
      text-align: center;
    }
  }
}
